package com.biostime.dingdingbox.common.datasource;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;  

/**
 *   需要多数据源的配置
 * @author chenweicheng
 *	@version 2016-06-15
 */
public class DataSources extends AbstractRoutingDataSource{  
  
    @Override  
    protected Object determineCurrentLookupKey() {  
        return DataSourceSwitch.getDataSourceType();  
    }  
  
}  